<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>robotide.application.editorprovider</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="robotide-module.html">Package&nbsp;robotide</a> ::
        <a href="robotide.application-module.html">Package&nbsp;application</a> ::
        Module&nbsp;editorprovider
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="robotide.application.editorprovider-module.html">Module robotide.application.editorprovider</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment">#  Copyright 2008-2009 Nokia Siemens Networks Oyj</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment">#  Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment">#  you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment">#  You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-comment">#      http://www.apache.org:licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-comment">#  Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-comment">#  distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-comment">#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-comment">#  See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-comment">#  limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider"></a><div id="EditorProvider-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="EditorProvider-toggle" onclick="return toggle('EditorProvider');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html">EditorProvider</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="EditorProvider-expanded"><a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.__init__"></a><div id="EditorProvider.__init__-def"><a name="L18"></a><tt class="py-lineno">18</tt> <a class="py-toggle" href="#" id="EditorProvider.__init__-toggle" onclick="return toggle('EditorProvider.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.__init__-expanded"><a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
</div><a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.register_editor"></a><div id="EditorProvider.register_editor-def"><a name="L21"></a><tt class="py-lineno">21</tt> <a class="py-toggle" href="#" id="EditorProvider.register_editor-toggle" onclick="return toggle('EditorProvider.register_editor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#register_editor">register_editor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">,</tt> <tt class="py-param">default</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.register_editor-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.register_editor-expanded"><a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">not</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">:</tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">_EditorList</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Method robotide.controller.settingcontrollers.TagsController.add()=robotide.controller.settingcontrollers.TagsController-class.html#add,Method robotide.editor.editors.Settings.add()=robotide.editor.editors.Settings-class.html#add,Method robotide.run.runanything.RunConfigs.add()=robotide.run.runanything.RunConfigs-class.html#add,Method robotide.ui.actiontriggers.ActionDelegator.add()=robotide.ui.actiontriggers.ActionDelegator-class.html#add,Method robotide.widgets.images.ImageList.add()=robotide.widgets.images.ImageList-class.html#add"><a title="robotide.controller.settingcontrollers.TagsController.add
robotide.editor.editors.Settings.add
robotide.run.runanything.RunConfigs.add
robotide.ui.actiontriggers.ActionDelegator.add
robotide.widgets.images.ImageList.add" class="py-name" href="#" onclick="return doclink('link-0', 'add', 'link-0');">add</a></tt><tt class="py-op">(</tt><tt id="link-1" class="py-name" targets="Package robotide.editor=robotide.editor-module.html"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-1', 'editor', 'link-1');">editor</a></tt><tt class="py-op">,</tt> <tt class="py-name">default</tt><tt class="py-op">)</tt> </tt>
</div><a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.unregister_editor"></a><div id="EditorProvider.unregister_editor-def"><a name="L26"></a><tt class="py-lineno">26</tt> <a class="py-toggle" href="#" id="EditorProvider.unregister_editor-toggle" onclick="return toggle('EditorProvider.unregister_editor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#unregister_editor">unregister_editor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.unregister_editor-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.unregister_editor-expanded"><a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method robotide.controller.filecontrollers.ResourceFileController.remove()=robotide.controller.filecontrollers.ResourceFileController-class.html#remove,Method robotide.controller.filecontrollers.TestCaseFileController.remove()=robotide.controller.filecontrollers.TestCaseFileController-class.html#remove,Method robotide.controller.filecontrollers.TestDataDirectoryController.remove()=robotide.controller.filecontrollers.TestDataDirectoryController-class.html#remove,Method robotide.controller.stepcontrollers.ForLoopStepController.remove()=robotide.controller.stepcontrollers.ForLoopStepController-class.html#remove,Method robotide.controller.stepcontrollers.IntendedStepController.remove()=robotide.controller.stepcontrollers.IntendedStepController-class.html#remove,Method robotide.controller.stepcontrollers.StepController.remove()=robotide.controller.stepcontrollers.StepController-class.html#remove,Method robotide.ui.actiontriggers.ActionDelegator.remove()=robotide.ui.actiontriggers.ActionDelegator-class.html#remove,Method robotide.ui.tree.VariableHandler.remove()=robotide.ui.tree.VariableHandler-class.html#remove"><a title="robotide.controller.filecontrollers.ResourceFileController.remove
robotide.controller.filecontrollers.TestCaseFileController.remove
robotide.controller.filecontrollers.TestDataDirectoryController.remove
robotide.controller.stepcontrollers.ForLoopStepController.remove
robotide.controller.stepcontrollers.IntendedStepController.remove
robotide.controller.stepcontrollers.StepController.remove
robotide.ui.actiontriggers.ActionDelegator.remove
robotide.ui.tree.VariableHandler.remove" class="py-name" href="#" onclick="return doclink('link-2', 'remove', 'link-2');">remove</a></tt><tt class="py-op">(</tt><tt id="link-3" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-3', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.set_active_editor"></a><div id="EditorProvider.set_active_editor-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="EditorProvider.set_active_editor-toggle" onclick="return toggle('EditorProvider.set_active_editor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#set_active_editor">set_active_editor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.set_active_editor-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.set_active_editor-expanded"><a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">set_default</tt><tt class="py-op">(</tt><tt id="link-4" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-4', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.get_editor"></a><div id="EditorProvider.get_editor-def"><a name="L32"></a><tt class="py-lineno">32</tt> <a class="py-toggle" href="#" id="EditorProvider.get_editor-toggle" onclick="return toggle('EditorProvider.get_editor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#get_editor">get_editor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.get_editor-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.get_editor-expanded"><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method robotide.namespace.cache.ExpiringCache.get()=robotide.namespace.cache.ExpiringCache-class.html#get"><a title="robotide.namespace.cache.ExpiringCache.get" class="py-name" href="#" onclick="return doclink('link-5', 'get', 'link-5');">get</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line"> </tt>
<a name="EditorProvider.get_editors"></a><div id="EditorProvider.get_editors-def"><a name="L35"></a><tt class="py-lineno">35</tt> <a class="py-toggle" href="#" id="EditorProvider.get_editors-toggle" onclick="return toggle('EditorProvider.get_editors');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider.EditorProvider-class.html#get_editors">get_editors</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorProvider.get_editors-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="EditorProvider.get_editors-expanded"><a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">get_all</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line"> </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line"> </tt>
<a name="_EditorList"></a><div id="_EditorList-def"><a name="L39"></a><tt class="py-lineno">39</tt> <a class="py-toggle" href="#" id="_EditorList-toggle" onclick="return toggle('_EditorList');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html">_EditorList</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="_EditorList-expanded"><a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.__init__"></a><div id="_EditorList.__init__-def"><a name="L41"></a><tt class="py-lineno">41</tt> <a class="py-toggle" href="#" id="_EditorList.__init__-toggle" onclick="return toggle('_EditorList.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.__init__-expanded"><a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
</div><a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.add"></a><div id="_EditorList.add-def"><a name="L44"></a><tt class="py-lineno">44</tt> <a class="py-toggle" href="#" id="_EditorList.add-toggle" onclick="return toggle('_EditorList.add');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#add">add</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">,</tt> <tt class="py-param">default</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.add-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.add-expanded"><a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-6" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-6', 'editor', 'link-1');">editor</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">:</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">default</tt><tt class="py-op">:</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-7" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-7', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt class="py-name">insert</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-8', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.set_default"></a><div id="_EditorList.set_default-def"><a name="L52"></a><tt class="py-lineno">52</tt> <a class="py-toggle" href="#" id="_EditorList.set_default-toggle" onclick="return toggle('_EditorList.set_default');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#set_default">set_default</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.set_default-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.set_default-expanded"><a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt class="py-name">index</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-9', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="robotide.controller.filecontrollers.ResourceFileController.remove
robotide.controller.filecontrollers.TestCaseFileController.remove
robotide.controller.filecontrollers.TestDataDirectoryController.remove
robotide.controller.stepcontrollers.ForLoopStepController.remove
robotide.controller.stepcontrollers.IntendedStepController.remove
robotide.controller.stepcontrollers.StepController.remove
robotide.ui.actiontriggers.ActionDelegator.remove
robotide.ui.tree.VariableHandler.remove" class="py-name" href="#" onclick="return doclink('link-10', 'remove', 'link-2');">remove</a></tt><tt class="py-op">(</tt><tt id="link-11" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-11', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-12', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.remove"></a><div id="_EditorList.remove-def"><a name="L57"></a><tt class="py-lineno">57</tt> <a class="py-toggle" href="#" id="_EditorList.remove-toggle" onclick="return toggle('_EditorList.remove');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#remove">remove</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.remove-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.remove-expanded"><a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="robotide.controller.filecontrollers.ResourceFileController.remove
robotide.controller.filecontrollers.TestCaseFileController.remove
robotide.controller.filecontrollers.TestDataDirectoryController.remove
robotide.controller.stepcontrollers.ForLoopStepController.remove
robotide.controller.stepcontrollers.IntendedStepController.remove
robotide.controller.stepcontrollers.StepController.remove
robotide.ui.actiontriggers.ActionDelegator.remove
robotide.ui.tree.VariableHandler.remove" class="py-name" href="#" onclick="return doclink('link-13', 'remove', 'link-2');">remove</a></tt><tt class="py-op">(</tt><tt id="link-14" class="py-name"><a title="robotide.editor" class="py-name" href="#" onclick="return doclink('link-14', 'editor', 'link-1');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.get"></a><div id="_EditorList.get-def"><a name="L60"></a><tt class="py-lineno">60</tt> <a class="py-toggle" href="#" id="_EditorList.get-toggle" onclick="return toggle('_EditorList.get');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#get">get</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.get-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.get-expanded"><a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt><tt class="py-op">[</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
</div><a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line"> </tt>
<a name="_EditorList.get_all"></a><div id="_EditorList.get_all-def"><a name="L63"></a><tt class="py-lineno">63</tt> <a class="py-toggle" href="#" id="_EditorList.get_all-toggle" onclick="return toggle('_EditorList.get_all');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.application.editorprovider._EditorList-class.html#get_all">get_all</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_EditorList.get_all-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="_EditorList.get_all-expanded"><a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_editors</tt> </tt>
</div></div><a name="L65"></a><tt class="py-lineno">65</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Apr 13 15:09:57 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
